#include "CCompiler.h"

CCompiler::CCompiler(const std::string &srcFileName,
		const std::string &destFileName) :
	ga(srcFileName), tcg(destFileName)

{
	
}

int CCompiler::compile(void)
{
	ga.parse(&st, &tcg);
	tcg.generateCode();
	return 0;
}

